home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1996 February / macformat-034.iso / mac / Shareware City / Developers / appe Windows 2.03 / sample drag.h < prev    next >
Encoding:
Text File  |  1995-10-29  |  729 b   |  25 lines  |  [TEXT/CWIE]

  1. // File "sample drag.h" - 
  2.  
  3. #ifndef ____SAMPLE_DRAG_HEADER____
  4. #define ____SAMPLE_DRAG_HEADER____
  5.  
  6. #ifndef __DRAG__
  7. #include <Drag.h>
  8. #endif  __DRAG__
  9.  
  10. // * ****************************************************************************** *
  11. // * ****************************************************************************** *
  12. // Function Prototypes
  13.  
  14. void SetupDragHandlers(WindowPtr win);
  15. short SampleWindowDrag(EventRecord *theEvent, WindowPtr win);
  16.  
  17. pascal OSErr SampleTrackingHandler(DragTrackingMessage message, WindowPtr win,
  18.         long homeA5, DragReference dragRef);
  19. pascal OSErr SampleReceiveHandler(WindowPtr win, long homeA5, DragReference dragRef);
  20.  
  21. RgnHandle NewDragRgn(WindowPtr win);
  22.  
  23. #endif  ____SAMPLE_DRAG_HEADER____
  24.  
  25.